package org.builder.bean.validator;

import java.util.ArrayList;
import java.util.List;

public class Task {
	
	private String name;
	private String className;
	private List<Field> fields = new ArrayList<Field>();
	
	public void addFields(Field field){
		fields.add(field);
	}
	
	public String getClassName() {
		return className;
	}
	public void setClassName(String className) {
		this.className = className;
	}
	public List<Field> getFields() {
		return fields;
	}
	public void setFields(List<Field> fields) {
		this.fields = fields;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}

}
